package com.fosu.service;

import com.fosu.common.ResponseResult;

import javax.servlet.http.HttpServletResponse;

/**
 * @author 郭俊求
 * @date 2020/11/9
 */
public interface RoleService {
    /**查找所有角色
     * @param resp HttpServlet响应对象
     * @return ResponseResult 响应对象
     */
    public ResponseResult findAll(HttpServletResponse resp);

    /**
     * @Author 夜天冥
     * @Description //TODO 按用户id查找角色id * @Date  2020/11/10
     * @param resp HttpServlet响应对象
     * @return ResponseResult 响应对象
     **/
    public ResponseResult findUserAndRoleById(HttpServletResponse resp, int userId);
}
